from selenium.webdriver.common.by import By

from po_study.base.Base import Base


class BaiduHomePage(Base):
    def __init__(self,driver):
        Base.__init__(self,driver)

    def input_search_text(self):
        self.input((By.ID,'kw'),'abc')

    def click_search_button(self):
        self.click((By.ID,'su'))
